package com.hqyj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqyj.pojo.Admin;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.*;

import java.util.List;


public interface AdminMapper extends BaseMapper<Admin> {



    //用户名查询
    @Select("select user_id,name,username,password,salt  from user where username=#{userName}")
    List<Admin> selectByName(String userName);


}
